export const Levels = [
  {
    Level: 1, //关卡
    Count: 3, //牌对数
    Time: 300,//通关时间限制
    DampTime: 2, //发牌旋转锁定时间，时间越短，越乱
    TypeRands: 3, //随机挑选牌数，Types为空情况下，会全局挑选
    Types: [
      's1', 't1', 'w1', 'fa', 'zhong',
    ],
  },
  {
    Level: 2,
    Count: 20,
    Time: 600,
    DampTime: 2,
    TypeRands: 37,
    Types: [],
  },

  {
    Level: 3,
    Count: 40,
    Time: 600,
    DampTime: 2,
    TypeRands: 37,
    Types: [],
  },

  {
    Level: 4,
    Count: 80,
    Time: 600,
    DampTime: 2,
    TypeRands: 37,
    Types: [],
  },
];

export enum MISSION_TYPE {
  USE_PROP_XIAOCHU,
  USE_PROP_FANPAI,
  USE_PROP_CHEHUI,
  USE_PROP_SHIZHONG,
  VIDEO_COUNT,
  LEVELBOX_GET_COUNT,
  STARBOX_GET_COUNT,
  SHARE,
  LEVEL,
  SIGN,
}
export enum REWARD_TYPE {
  COIN,
  XIPAI,
  FANPAI,
  CHEHUI,
  XIAOCHU,
  SHIZHONG
}
export const Daily_Mission = [
  {
    type: MISSION_TYPE.SIGN,
    targetNum: 1,
    rewardList: [
      [REWARD_TYPE.XIAOCHU, 1],
    ]
  },
  {
    type: MISSION_TYPE.SHARE,
    targetNum: 1,
    rewardList: [
      [REWARD_TYPE.COIN, 50],
    ]
  },
  {
    type: MISSION_TYPE.USE_PROP_XIAOCHU,
    targetNum: 1,
    rewardList: [
      [REWARD_TYPE.COIN, 20],
    ]
  },
  {
    type: MISSION_TYPE.USE_PROP_XIAOCHU,
    targetNum: 3,
    rewardList: [
      [REWARD_TYPE.COIN, 30],
    ]
  },
  {
    type: MISSION_TYPE.USE_PROP_XIAOCHU,
    targetNum: 10,
    rewardList: [
      [REWARD_TYPE.COIN, 50],
    ]
  },
  {
    type: MISSION_TYPE.USE_PROP_FANPAI,
    targetNum: 1,
    rewardList: [
      [REWARD_TYPE.COIN, 20],
    ]
  },
  {
    type: MISSION_TYPE.USE_PROP_FANPAI,
    targetNum: 3,
    rewardList: [
      [REWARD_TYPE.COIN, 30],
    ]
  },
  {
    type: MISSION_TYPE.USE_PROP_FANPAI,
    targetNum: 10,
    rewardList: [
      [REWARD_TYPE.COIN, 50],
    ]
  },
  {
    type: MISSION_TYPE.USE_PROP_CHEHUI,
    targetNum: 1,
    rewardList: [
      [REWARD_TYPE.XIAOCHU, 1],
    ]
  },
  {
    type: MISSION_TYPE.USE_PROP_CHEHUI,
    targetNum: 3,
    rewardList: [
      [REWARD_TYPE.XIAOCHU, 1],
    ]
  },
  {
    type: MISSION_TYPE.USE_PROP_CHEHUI,
    targetNum: 10,
    rewardList: [
      [REWARD_TYPE.COIN, 50],
    ]
  },
  {
    type: MISSION_TYPE.USE_PROP_SHIZHONG,
    targetNum: 1,
    rewardList: [
      [REWARD_TYPE.COIN, 20],
    ]
  },
  {
    type: MISSION_TYPE.USE_PROP_SHIZHONG,
    targetNum: 3,
    rewardList: [
      [REWARD_TYPE.COIN, 30],
    ]
  },
  {
    type: MISSION_TYPE.USE_PROP_SHIZHONG,
    targetNum: 10,
    rewardList: [
      [REWARD_TYPE.COIN, 50],
    ]
  },
  {
    type: MISSION_TYPE.LEVELBOX_GET_COUNT,
    targetNum: 1,
    rewardList: [
      [REWARD_TYPE.SHIZHONG, 1],
    ]
  },
  {
    type: MISSION_TYPE.LEVELBOX_GET_COUNT,
    targetNum: 2,
    rewardList: [
      [REWARD_TYPE.CHEHUI, 1],
    ]
  },
  {
    type: MISSION_TYPE.LEVELBOX_GET_COUNT,
    targetNum: 3,
    rewardList: [
      [REWARD_TYPE.SHIZHONG, 1],
    ]
  },
  {
    type: MISSION_TYPE.STARBOX_GET_COUNT,
    targetNum: 1,
    rewardList: [
      [REWARD_TYPE.XIAOCHU, 1],
    ]
  },
  {
    type: MISSION_TYPE.STARBOX_GET_COUNT,
    targetNum: 2,
    rewardList: [
      [REWARD_TYPE.CHEHUI, 1],
    ]
  },
  {
    type: MISSION_TYPE.STARBOX_GET_COUNT,
    targetNum: 3,
    rewardList: [
      [REWARD_TYPE.SHIZHONG, 1],
    ]
  },
  {
    type: MISSION_TYPE.VIDEO_COUNT,
    targetNum: 1,
    rewardList: [
      [REWARD_TYPE.XIAOCHU, 1],
    ]
  },
  {
    type: MISSION_TYPE.VIDEO_COUNT,
    targetNum: 3,
    rewardList: [
      [REWARD_TYPE.COIN, 50],
    ]
  },
  {
    type: MISSION_TYPE.VIDEO_COUNT,
    targetNum: 5,
    rewardList: [
      [REWARD_TYPE.CHEHUI, 1],
    ]
  },
  {
    type: MISSION_TYPE.VIDEO_COUNT,
    targetNum: 10,
    rewardList: [
      [REWARD_TYPE.SHIZHONG, 1],
    ]
  },
]

export const Long_Mission = [
  {
    type: MISSION_TYPE.VIDEO_COUNT,
    targetNum: 20,
    rewardList: [
      [REWARD_TYPE.COIN, 1000],
      [REWARD_TYPE.XIAOCHU, 2],
      [REWARD_TYPE.CHEHUI, 2],
      [REWARD_TYPE.FANPAI, 2],
      [REWARD_TYPE.XIPAI, 2],
    ]
  },
  {
    type: MISSION_TYPE.VIDEO_COUNT,
    targetNum: 50,
    rewardList: [
      [REWARD_TYPE.COIN, 2500],
      [REWARD_TYPE.XIAOCHU, 5],
      [REWARD_TYPE.CHEHUI, 5],
      [REWARD_TYPE.FANPAI, 5],
      [REWARD_TYPE.XIPAI, 5],
    ]
  },
  {
    type: MISSION_TYPE.VIDEO_COUNT,
    targetNum: 100,
    rewardList: [
      [REWARD_TYPE.COIN, 5000],
      [REWARD_TYPE.XIAOCHU, 10],
      [REWARD_TYPE.CHEHUI, 10],
      [REWARD_TYPE.FANPAI, 10],
      [REWARD_TYPE.XIPAI, 10],
    ]
  },
  {
    type: MISSION_TYPE.VIDEO_COUNT,
    targetNum: 200,
    rewardList: [
      [REWARD_TYPE.COIN, 10000],
      [REWARD_TYPE.XIAOCHU, 20],
      [REWARD_TYPE.CHEHUI, 20],
      [REWARD_TYPE.FANPAI, 20],
      [REWARD_TYPE.XIPAI, 20],
    ]
  },
  {
    type: MISSION_TYPE.LEVEL,
    targetNum: 50,
    rewardList: [
      [REWARD_TYPE.COIN, 500],
      [REWARD_TYPE.XIAOCHU, 1],
      [REWARD_TYPE.CHEHUI, 1],
      [REWARD_TYPE.FANPAI, 1],
      [REWARD_TYPE.XIPAI, 1],
    ]
  },
]

export enum EVENT_TYPE {
  EVENT_UPD_DAILYMISSIONLIST,
  EVENT_UPD_GAMEINFO,
  EVENT_UPD_PROP_HEPAI,
  EVENT_UPD_SHARE,
  EVENT_UPD_TILI
}
